package com.ezops.poc.util;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

import org.apache.camel.spring.Main;

/**
 * Util class to set up and load all necessary config related to spring.
 * 
 * @author vgaurav
 * 
 */
//@Configuration
//@ImportResource("classpath:/spring/camel-context.xml")
//@ComponentScan(basePackages = "com.ezpos.poc")


public class ApplicationContextUtils {

	public static void main(String[] args) throws Exception {
		Main main = new Main();
		//main.setApplicationContextUri("classpath:META-INF/camel-context.xml");
		main.run(args);
	}

}
